package com.spring.demo10.eg1;

import java.util.HashMap;
import java.util.Map;

/**
 * 模拟重db中获取邮件配置信息
 * @author vhans
 */
public class DbUtil {
    public static Map<String, Object> getMailInfoForDb() {
        Map<String, Object> result = new HashMap<>();
        result.put("mail.host", "123@qq.com");
        result.put("mail.username", "vhans");
        result.put("mail.password", "123456");
        return result;
    }
}
